package com.amado.easyui2.enums;

public enum ApiErrorEnum {
	ERROR_100("100","参数错误"),
	ERROR_1001("1001","用户名已经存在"),
	ERROR_1002("1002","部门编码已经存在");
	private String errorCode;
	private String errorMsg;
	private ApiErrorEnum(String errorCode, String errorMsg) {
		this.errorCode = errorCode;
		this.errorMsg = errorMsg;
	}
	public String getErrorCode() {
		return errorCode;
	}
	public String getErrorMsg() {
		return errorMsg;
	}
	
	
}
